/**
 *封装用户相关后台接口方法：注册、登录等
 */
import request from '@/utils/request'

/**
 *
 * @param {*} data :{username, password,repassword}
 * @returns
 */
export function regApi (data) {
  return request.post('/api/reg', data)
}
